//
//  UIColor+Extension.swift
//  Weibo
//
//  Created by 付启刚 on 15/12/23.
//  Copyright © 2015年 faq. All rights reserved.
//

import UIKit
extension UIColor{
//返回一个随机颜色
    class func radomColor() -> UIColor  {
        let r=CGFloat(random()%256)/255.0
        let g=CGFloat(random()%256)/255.0
        let b=CGFloat(random()%256)/255.0
        return UIColor(red: r, green: g, blue: b, alpha: 1)
    }
    
}